powered by
Tuning of the bandwidth parameter in the von Mises kernel for circular data. Cross validation is used.
vmkde.tune(u, low = 0.1, up = 1, rads = TRUE)
The data, a numerical vector.
The lower value of h to search.
If the data are in radians this should be TRUE and FALSE otherwise.
A vector including two elements:
The best H found.
The value of the maximised pseudo-likelihood.
Tuning of the bandwidth parameter in the von Mises kernel for circula data via cross validation. The procedure is fast because an optimiser is used.
Taylor C. C. (2008). Automatic bandwidth selection for circular density estimation. Computational Statistics & Data Analysis, 52(7), 3493--3500.
Wand M. P., & Jones M. C. (1994). Kernel smoothing. CrC Press.
vm.kde, vmfkde.tune, vmf.kde
# NOT RUN { u <- rvonmises(100, 2.4, 10, rads = TRUE) vmkde.tune(u) # }
Run the code above in your browser using DataLab